home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / health / foodsm.zip / INSTALLC.BAT < prev    next >
DOS Batch File  |  1994-06-01  |  2KB  |  61 lines

  1. @ECHO OFF
  2. cls
  3. echo.
  4. echo If you are installing over a previous version its a good idea to back
  5. echo up the files in your Pantry. Press 'Ctrl Break' to stop installation
  6. echo and backup files. (See Pantry file info on how to backup files).
  7. echo.
  8. echo This install puts the program onto your hard drive and into a directory
  9. echo called 'eatwell'.  You must run the install from the subdirectory where
  10. echo you have the original files.  The program asks you to copy certain
  11. echo files in case you have an existing copy of the program; if you are 
  12. echo copying over a previous version and wish to save log information then
  13. echo answer 'no' to the appropriate log file to save the old file which the
  14. echo new program can use.  Enter 'eatwell' from Dos prompt to run program.
  15. echo.
  16. echo To run from Windows file manager, click on the eatwell directory and 
  17. echo either the file eatwell.pif or the file eatwell.exe. The info file in the
  18. echo Pantry tells you how to create an icon under Windows to run the program.
  19. echo. 
  20. echo Enter 'Ctrl Break' or turn the computer off and then on to stop install
  21. echo now if desired or any key to continue.   Good Luck and Have a Great Day!
  22. echo.
  23. pause
  24. xcopy eatwell.exe c:\eatwell\
  25. if errorlevel 5 goto disker
  26. if errorlevel 4 goto room 
  27. if errorlevel 1 goto wrongdir  
  28. xcopy *.dat c:\eatwell\
  29. xcopy *.cfg c:\eatwell\
  30. xcopy *.hlp c:\eatwell\
  31. xcopy *.pif c:\eatwell\
  32. xcopy *.bgi c:\eatwell\
  33. xcopy prolog.err c:\eatwell\
  34. xcopy *. c:\eatwell\ /p
  35. xcopy eatwell.bat c:\
  36. xcopy install*.bat c:\eatwell\
  37. xcopy *.diz c:\eatwell\
  38. rem attrib -r c:\eatwell\*.* 
  39. goto exit
  40. :wrongdir
  41. echo .
  42. echo You did not run install from source directory; change to the proper
  43. echo drive and/or directory and rerun install
  44. echo .
  45. pause
  46. goto exit
  47. :room
  48. echo .
  49. echo There is not enough room on your destination disk or you do not
  50. echo have enough memory; make hard drive room or free low memory.
  51. echo .
  52. pause
  53. goto exit
  54. :disker
  55. echo.
  56. echo Disk write error occured
  57. echo.
  58. pause
  59. goto exit
  60. :exit
  61.